package com.bnz.controller;

import org.springframework.context.annotation.Bean;
import org.springframework.web.bind.annotation.*;

@RestController
public class UserController {

    @GetMapping("/user")
    public String getUser(){
        return "USER--->[GET]";
    }

    @PostMapping("/user")
    public String postUser(){
        return "USER--->[POST]";
    }

    @DeleteMapping("/user")
    public String deleteUser(){
        return "USER--->[DELETE]";
    }

    @PutMapping("/user")
    public String putUser(){
        return "USER--->[PUT]";
    }


}
